package com.iptv.grape.event.data;

import com.iptv.grape.domain.Channel;

// 数据采集直播参数对象
public class LiveData {
    // 逻辑频道号
    private String channelID;
    // 频道名称
    private String channelName;
    // 进入直播频道方式(0:上键，1:下键，2:数字键，3:列表+确定键，4:推荐位，5:时移，6:回看，7:观看历史，8:预约，9:关联推荐，10:其它方式)
    private String enterChannelType;
    // 全屏界面按键键值包括（确认键、红键、信息键、绿键）
    private String channelStatus;
    // 进入退出（0：进入；1：退出）
    private String state;
    // 预留1
    private String reserve1;
    // 预留2
    private String reserve2;

    public LiveData() {

    }

    public LiveData(Channel channel,String enterChannelType, String channelStatus, String state) {
        this.channelID = channel.getChannelNo() + "";
        this.channelName = channel.getName();
        this.enterChannelType = enterChannelType;
        this.channelStatus = channelStatus;
        this.state = state;
    }

    public LiveData(String channelID, String channelName, String enterChannelType, String channelStatus, String state) {
        this.channelID = channelID;
        this.channelName = channelName;
        this.enterChannelType = enterChannelType;
        this.channelStatus = channelStatus;
        this.state = state;
    }

    public String getReserve1() {
        return reserve1;
    }

    public void setReserve1(String reserve1) {
        this.reserve1 = reserve1;
    }

    public String getReserve2() {
        return reserve2;
    }

    public void setReserve2(String reserve2) {
        this.reserve2 = reserve2;
    }

    public String getChannelID() {
        return channelID;
    }

    public void setChannelID(String channelID) {
        this.channelID = channelID;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public String getEnterChannelType() {
        return enterChannelType;
    }

    public void setEnterChannelType(String enterChannelType) {
        this.enterChannelType = enterChannelType;
    }

    public String getChannelStatus() {
        return channelStatus;
    }

    public void setChannelStatus(String channelStatus) {
        this.channelStatus = channelStatus;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
